package com.ilxqx.framework.system.config;

import org.springframework.context.annotation.Configuration;

/**
 * ElasticSearch 配置类
 * @author venus
 */
@Configuration
public class ElasticSearchBeanConfig {

    /*@Bean()
    public TransportClient transportClient() throws UnknownHostException {
        TransportAddress transportAddress = new TransportAddress(InetAddress.getByName("localhost"), 9300);
        TransportClient transportClient = new PreBuiltTransportClient(Settings
                .builder()
                .put("cluster.userName", "framework")
                .build());
        transportClient.addTransportAddress(transportAddress);
        return transportClient;
    }*/

}
